SERVER=xenon.cs.luc.edu:~/public_html/cs271/lectures

all: images slides article

article:
	pdflatex arraylist.article.tex
	pdflatex arraylist.article.tex

slides:
	pdflatex arraylist.beamer.tex
	pdflatex arraylist.beamer.tex

images:
	dot -Tpdf arraylist.dot > arraylist_diag.pdf

publish: all
	scp arraylist.beamer.pdf ${SERVER}/lec4-arraylist.beamer.pdf
	scp arraylist.article.pdf ${SERVER}/lec4-arraylist.article.pdf

clean:
	-rm *.aux *.log *.nav *.out *.pdf *.snm *.toc *.vrb *.ps *.dvi
	-rm *~
